<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="layout" content="main"/>
</head>
<body>
<!-- RSS Auto-Discoveryリンクを仕込む -->
<link rel="alternate" type="application/rss+xml" title="${user.username}"
      href="${createLink(controller:user.username + '.rss')}"/>
<div class="span-26 inner">
  <table border="0">
    <col width="25%"/>
    <col width="75%"/>
    <tr>
      <td valign="center"><mw:icon username="${user.username}"/></td>
      <td valign="center"><h1>${user.username} のつぶやき</h1></td>
    </tr>
    <tr>
      <td valign="top">
        <g:isLoggedIn><g:include controller="status" action="isFollowed" id="${user.username}"/></g:isLoggedIn>
      </td>
      <td valign="top">
        <div style="text-align:right">
          <a class="feed" href="${createLink(controller:user.username + '.rss')}">RSS</a>
          <a class="feed" href="${createLink(controller:user.username + '.atom')}">atom</a>
        </div>
      </td>
    </tr>
  </table>
  <g:render template="ajax_status" model="[statuses:statuses,user:user,page:page]"/>
</div>
<div class="span-12 last inner">
  <g:render template="sidebar" model="[username:user.username]"/>
</div>
<g:javascript>
  function fadeIn(id) {
    new Effect.Fade(id, {from:0, to:1})
  }
</g:javascript>
</body>
</html>
